TCPServer

Undocumented in source.

Constructors

this
this(EventLoop loop)
Undocumented in source.

Members

Aliases

NewConnection
alias NewConnection = ServerConnection delegate(TcpListener sender, TcpStream stream)
Undocumented in source.
OnAceptorCreator
alias OnAceptorCreator = void delegate(kiss.net.TcpListener.TcpListener)
Undocumented in source.

Functions

bind
void bind(Address addr, OnAceptorCreator ona)
Undocumented in source. Be warned that the author may not have intended to support it.
close
void close()
Undocumented in source. Be warned that the author may not have intended to support it.
createTcpStream
TcpStream createTcpStream(TcpListener sender, Socket sock, size_t bufferSize)
Undocumented in source. Be warned that the author may not have intended to support it.
listen
void listen(int block)
Undocumented in source. Be warned that the author may not have intended to support it.
newConnect
void newConnect(TcpListener sender, TcpStream stream)
Undocumented in source. Be warned that the author may not have intended to support it.
setNewConntionCallBack
void setNewConntionCallBack(NewConnection cback)
Undocumented in source. Be warned that the author may not have intended to support it.
startTimeout
void startTimeout(uint s)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

bindAddress
bindAddress [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
eventLoop
eventLoop [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
tcpListener
tcpListener [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
timeout
timeout [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Meta